<?php

use yii\db\Migration;

class m180119_052915_alter_customer extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%customer}}','is_old',$this->smallInteger(1)->defaultValue(0)->comment('是否是老生 0 否1是'));
    }

    public function safeDown()
    {
        $this->dropColumn('{{%customer}}','is_old');
    }
}
